home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 August: Tool Chest / Dev.CD Aug 94.toast / New System Software Extensions / OpenDoc A6 / OpenDoc Parts Framework / OPF / Examples / Text / Include / RulerFrame.h < prev    next >
Encoding:
Text File  |  1994-04-21  |  1.3 KB  |  54 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                RulerFrame.h
  4. //    Release Version:    $ 1.0d1 $
  5. //
  6. //    Author:                Anthone Burbidge
  7. //    Creation Date:        3/28/94
  8. //
  9. //    Copyright:    © 1993, 1994 by Apple Computer, Inc., all rights reserved.
  10. //
  11. //========================================================================================
  12.  
  13. #ifndef _RULERFRAME_
  14. #define _RULERFRAME_
  15.  
  16. // ----- Framework Includes -----
  17.  
  18. #ifndef FWFRAME_H
  19. #include "FWFrame.h"
  20. #endif
  21.  
  22.  
  23. //========================================================================================
  24. // Forward class declarations
  25. //========================================================================================
  26.  
  27. class CTextPart;
  28. class CTextFacet;
  29.  
  30.  
  31. //========================================================================================
  32. // CRulerFrame
  33. //========================================================================================
  34.  
  35. class CRulerFrame : public FW_CFrame
  36. {
  37. // ----- Initialization/destruction
  38. public:        
  39.     CRulerFrame();
  40.     void IRulerFrame(XMPFrame* xmpFrame, CTextPart* textPart);
  41.     virtual ~ CDECL CRulerFrame();
  42.  
  43. // ----- From FW_CFrame
  44. public:        
  45.     virtual void            FocusStateChanged(XMPTypeToken focus, FW_Boolean newState);
  46.     virtual FW_CFacet*        NewFacet(XMPFacet* xmpFacet);
  47.     
  48. // ----- Data Members
  49. private:    
  50.     CTextPart*                fTextPart;
  51. };
  52.  
  53. #endif
  54.